About 438 letters

About 2 minutes

#tuple

Description: Convert a value to type tuple.

def tuple(x):
    '''
    Convert a value to tuple

    :param x: a variable
    :return: the value converted to tuple
    '''

Example:

print(tuple([1, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6]))

>>> Establishing WebAssembly Runtime.

>>> Standby.

Powered by Shift.

Updated: 6/9/2025

Author: PlanC

Created: 6/9/2025